package com.csii.ssm.mapper;

import com.csii.ssm.core.MyMapper;
import com.csii.ssm.model.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface UserMapper extends MyMapper<User> {
    User loadByTel(String tel);

    User loginBy(@Param("uname")String uname, @Param("tel")String tel, @Param("password")String password);
}